메인 콘텐츠로 건너뛰기
POST
/
settings
/
logo
Upload site logo
curl --request POST \
  --url https://your_a2_service/settings/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "file_path": "<string>",
  "thumb_path": "<string>",
  "thumb_url": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
file
file
required

사용할 로고 파일

Response

Successful Response

파일 업로드 결과 스키마

file_path
string
required

파일이 서버에 저장된 전체 경로

url
string
required

업로드된 파일에 접근할 수 있는 URL

thumb_path
string | null

썸네일이 서버에 저장된 전체 경로

thumb_url
string | null

업로드된 썸네일에 접근할 수 있는 URL